package bean;

import annotation.Id;
import annotation.Table;

@Table(name = "medicament")
public class Medicament extends RmiBean {

	@Id
	private Integer id;
	private String nom;
	private String posologieStandard;

	public Medicament() {
		this.nom = null;
		this.posologieStandard = null;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPosologieStandard() {
		return posologieStandard;
	}

	public void setPosologieStandard(String posologieStandard) {
		this.posologieStandard = posologieStandard;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public String toString() {
		return "Medicament [id=" + id + ", nom=" + nom + ", posologieStandard="
				+ posologieStandard + "]";
	}

}
